package cn.yhbk.web.modules.manager.Service;

import cn.yhbk.web.modules.manager.Pojo.DTO.Counsellor.CounsellorCondition;
import cn.yhbk.web.modules.manager.Pojo.Entity.TbClass;
import cn.yhbk.web.modules.manager.Pojo.Entity.TbCounsellor;
import cn.yhbk.web.modules.manager.Pojo.VO.Counsellor.CounsellorAdd;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 辅导员表 服务类
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
public interface ITbCounsellorService extends IService<TbCounsellor> {

    boolean addCounsellor(CounsellorAdd add);


    Page<TbCounsellor> getCounsellor(Long currentPage, Long pageSize, CounsellorCondition condition);

    boolean updateByAdminId(Long currentAdminId, TbCounsellor updateForUser);

    boolean removeCounsellor(Long counsellorId);

    TbCounsellor getCounsellorByAdminId(Long adminId);

    Boolean giveClass(Long counsellorId, List<Long> classIds);

    List<TbClass> getMyClass(Long counsellorId);
}
